{% load ajax %}
{% load overlay %}
{% load reputation_access_control %}
{% load modcontext %}

{% static_with delete_ model _ node.id as link_id %}
{% if PERMISSIONS.access_moderation or is_owner %}
    <a id='{{link_id}}' href='{% url django-moderation-delete node_content_type node.id %}' class='img_link action hide_content'> delete </a>
{% endif %}
{% endstatic_with %}